package com.example.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data  // getter setter
@NoArgsConstructor // 无参构造
@AllArgsConstructor  // 有参构造
public class Student {
    private int id ;
    private String stuname;
    private String email;
    private int age ;
    private String phone;
    private String sex;
    private int classid;
}